#pragma once
#include "All.h"
#include<easyx.h>   
#include <conio.h>



extern std::wstring g_userId;
extern std::wstring g_password;
extern bool g_isInputUserID;
extern bool g_isInputPassword;
extern int g_cursorPos;
extern bool g_showCursor;
extern clock_t g_cursorTimer;


extern std::wstring g_userName;
extern std::wstring g_confirmPassword;
extern std::wstring g_question;
extern std::wstring g_answer;
extern bool g_isInputUserName;
extern bool g_isInputConfirmPassword;
extern bool g_isInputQuestion;
extern bool g_isInputAnswer;


extern std::wstring g_newPassword;
extern bool g_isInputNewPassword;


void handleLoginInput(UINT message, WPARAM wParam, LPARAM lParam);
void handleRegisterInput(UINT message, WPARAM wParam, LPARAM lParam);
void handleForgetInput(UINT message, WPARAM wParam, LPARAM lParam);
void signIn();
void drawMainUI();
void Register();
void registerUI();
void forgetPassword();
void forgetUI();

